package com.example.fan.airline_reservation.Model;

public class Passenger {
    /*（姓名、性别、工作单位、身份证号码（护照号码）*/
    private String name;/*姓名*/
    private int sex;/*性别   0是男，1是女*/
    private String workPlace;/*工作单位*/
    private String identityCard;/*身份证号码*/
    private String TeleNum;/*电话号码*/

    public Passenger(String name, int sex, String workPlace, String identityCard,String TeleNum) {
        this.name = name;
        this.sex = sex;
        this.workPlace = workPlace;
        this.identityCard = identityCard;
        this.TeleNum = TeleNum;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getSex() {
        return sex;
    }

    public void setSex(int sex) {
        this.sex = sex;
    }

    public String getWorkPlace() {
        return workPlace;
    }

    public void setWorkPlace(String workPlace) {
        this.workPlace = workPlace;
    }

    public String getIdentityCard() {
        return identityCard;
    }

    public void setIdentityCard(String identityCard) {
        this.identityCard = identityCard;
    }

    public String getTeleNum() {
        return TeleNum;
    }

    public void setTeleNum(String teleNum) {
        TeleNum = teleNum;
    }
}
